<?php

namespace App\Modules\Admin\Entities\Mall;

use App\Models\Model;
use PhpParser\Node\Expr\AssignOp\Mod;

class GoodsOrderStatusChangeModel extends Model
{

    protected $table='goods_order_status_change';
    protected $primaryKey='id';
    protected $is_delete=0;


    public function getPayLog($orderId)
    {
        return $this->where(['order_id'=>$orderId])->orderBy($this->primaryKey,'asc')->get()->toArray();
    }
}
